<div class="row">
  <div class="col-lg-12">
    <div class="ibox">
      <div class="ibox-title">
        <h5>
          <vc:i18n name="添加抬头" namespace="addOweFeeCallable"></vc:i18n>
        </h5>
        <div class="ibox-tools" style="top:10px;">
          <button class="btn btn-white float-right" type="button" v-on:click="vc.goBack()">
            <vc:i18n name="返回"></vc:i18n>
        </button>
        </div>
      </div>
      <div class="ibox-content">
        <div class="form-group row">
          <label class="col-sm-2 col-form-label text-right">
            <vc:i18n name="业主" namespace="addOwnerInvoice"></vc:i18n>
        </label>
        <div class="col-sm-6">
            <input v-model="addOwnerInvoiceInfo.ownerName" disabled type="text"
                :placeholder="vc.i18n('必填，请选择业主','addOwnerInvoice')" class="form-control">
        </div>
        <div class="col-sm-1">
            <button type="button" class="btn btn-primary btn-sm"
                v-on:click="_openChooseOwner()">选择业主
            </button>
        </div>
        </div>
        <div class="form-group row">
          <label class="col-sm-2 col-form-label text-right">
            <vc:i18n name='发票类型' namespace='addOwnerInvoice'></vc:i18n>
          </label>
          <div class="col-sm-8">
            <select class="custom-select" v-model="addOwnerInvoiceInfo.invoiceType">
              <option selected disabled value="">{{vc.i18n('必填，请选择发票类型','addOwnerInvoice')}}</option>
              <option value="1001">{{vc.i18n('个人','addOwnerInvoice')}}</option>
              <option value="2002">{{vc.i18n('企业','addOwnerInvoice')}}</option>
            </select>
          </div>
        </div>
        <div class="form-group row">
          <label class="col-sm-2 col-form-label text-right">
            <vc:i18n name='发票名头' namespace='addOwnerInvoice'></vc:i18n>
          </label>
          <div class="col-sm-8">
            <input v-model="addOwnerInvoiceInfo.invoiceName" type="text"
              :placeholder="vc.i18n('必填，请填写发票名头','addOwnerInvoice')" class="form-control">
          </div>
        </div>
        <div class="form-group row">
          <label class="col-sm-2 col-form-label text-right">
            <vc:i18n name='纳税人识别号' namespace='addOwnerInvoice'></vc:i18n>
          </label>
          <div class="col-sm-8">
            <input v-model="addOwnerInvoiceInfo.invoiceNum" type="text"
              :placeholder="vc.i18n('必填，请填写纳税人识别号','addOwnerInvoice')" class="form-control">
          </div>
        </div>
        <div class="form-group row">
          <label class="col-sm-2 col-form-label text-right">
            <vc:i18n name='地址、电话' namespace='addOwnerInvoice'></vc:i18n>
          </label>
          <div class="col-sm-8">
            <input v-model="addOwnerInvoiceInfo.invoiceAddress" type="text"
              :placeholder="vc.i18n('必填，请填写地址、电话','addOwnerInvoice')" class="form-control">
          </div>
        </div>
        <div class="form-group row">
          <label class="col-sm-2 col-form-label text-right">
            <vc:i18n name='备注' namespace='addOwnerInvoice'></vc:i18n>
          </label>
          <div class="col-sm-8">
            <textarea v-model="addOwnerInvoiceInfo.remark" :placeholder="vc.i18n('选填，请填写备注','addOwnerInvoice')"
              class="form-control"></textarea>
          </div>
        </div>

        <div class="ibox-content">
          <button class="btn btn-primary float-right" type="button" v-on:click="saveOwnerInvoiceInfo()">
              <vc:i18n name="保存"></vc:i18n>
          </button>
        </div>
      </div>
    </div>
  </div>
  <vc:create path="property/searchOwner" emitChooseOwner="addOwnerInvoice" emitLoadData="addOwnerInvoice">
  </vc:create>
</div>